<template>
  <!-- 个人中心-版本 -->
  <div class="user_versions">
    <!-- 顶部导航 -->
    <div class="user_versions_top">
      <van-nav-bar
        left-arrow
        @click-left="$router.go(-1)"
        fixed
        title="版本信息"
      >
      </van-nav-bar>
    </div>

    <van-cell-group>
      <van-cell title="当前版本" :value="info.versions" />
    </van-cell-group>

    <van-cell title="版本信息" :label="info.infomation" />
  </div>
</template>

<script>
import { GetUserVersions } from "@/request/api";
export default {
  data() {
    return {
      info: "",
    };
  },
  created() {
    GetUserVersions().then((res) => {
      this.info = res.data;
    });
  },
};
</script>
 
<style lang = "less" scoped>
.user_versions {
  /* 顶部导航 */
  .user_versions_top {
    padding-bottom: 0.46rem;

    .van-nav-bar {
      background-color: #003399;
    }
    /deep/.van-icon,
    /deep/.van-nav-bar__title {
      color: #ffffff;
    }
  }
  .van-cell-group {
    margin-bottom: 0.1rem;
  }
}
</style>